package com.woniuxy.woniuhis.entity;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Inpatient {
    private String inpatientId;

    private String inpatientName;

    private Patient patient;

    private Date inDate;

    private Date outDate;

    private String inpatientFamlilyName;

    private String inpatientFamlilyTel;

    private Bed bed;

    private Emp empDoc;

    private Emp empNur;
    public String getPatientGender() {
    	return patient.getPatientGender();
    }
    public String getRoomAndBed() {
    	return bed.getRoom().getRoomId()+"房"+bed.getBedId()+"床";
    }
    public String getDocName() {
    	return empDoc.getEmpName();
    }
}